C major and E minor contrast through their respective notes C and B (in red and orange), each a half step apart or leading tones. The chords share two notes (in blue) however.
Ausschnitte aus Beethovens Klaviersonate Nr. 31, op. 110, Dritter Satz Excerpts from the third movement of Ludwig van Beethoven's Piano Sonata No. 31, Op. 110